package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallLog;
import com.ctsi.ssdc.domain.LitemallLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallLogRepository extends BaseRepository<LitemallLog, Integer, LitemallLogExample> {
    @Override
    long countByExample(LitemallLogExample example);

    @Override
    int deleteByExample(LitemallLogExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallLog record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallLog record);

    @Override
    List<LitemallLog> selectByExample(LitemallLogExample example);

    @Override
    LitemallLog selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallLog record, @Param("example") LitemallLogExample example);

    @Override
    int updateByExample(@Param("record") LitemallLog record, @Param("example") LitemallLogExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallLog record);

    @Override
    int updateByPrimaryKey(LitemallLog record);
}